﻿
@{
    ViewData["Title"] = "WIFI 设置";
}
@model WifiViewModel;
<form class="form-horizontal" method="post">
    <div class="form-group">
        <label for="SSID" class="col-sm-2 control-label">WIFI名称</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" asp-for="SSID" id="SSID" value="@Model.SSID" placeholder="Wifi 名称">
        </div>
    </div>
    <div class="form-group">
        <label for="PSK" class="col-sm-2 control-label">WIFI密码</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" asp-for="PSK" id="SSID" value="@Model.PSK" placeholder="Wifi 密码">
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-success">保存</button>
        </div>
    </div>
    <div class="form-group">
        <p class="lead">@ViewBag.Message</p>
    </div>
</form>
